package com.qfedu.edu.seckill.constance;

/**
 * @author xiaobobo
 * @title: RabbitMQConstance
 * @projectName cd-java-2404-seckill-parent
 * @description: 队列的常量类
 * @date 2025/2/6  10:55
 */
public class RabbitMQConstance {

    //下面这些就是我们要监控的这个队列
    private static final String[] QUEUE_ARRAY = {
            "orderQueue","reduceQueue","exceptionBusinessQueue"};

    public static String[] getQueueArray() {
        return QUEUE_ARRAY;
    }

    //订单相关的队列
    private static final String ORDER_QUEUE = "orderQueue";

    //减库存的队列
    private static final String REDUCE_STOCK_QUEUE = "reduceQueue";

    private static final String EXCEPTION_BUSINESS_QUEUE = "exceptionBusinessQueue";


    public static String getExceptionBusinessQueue() {
        return EXCEPTION_BUSINESS_QUEUE;
    }

    public static String getReduceStockQueue() {
        return REDUCE_STOCK_QUEUE;
    }

    public static String getOrderQueue() {
        return ORDER_QUEUE;
    }
}
